#include <stdio.h>

int computeEven(int n)
{
  int i;
  long sum;
  for (i=1; i<=n; i++)
  {
    if (i%2 == 0)
    {
      sum += i;
    }
  }
  return sum;
}

int main(void)
{
  int r = computeEven(10);
  printf("%d\n", r);
  return 0;
}
